package cn.lysj.framework.pirpraph.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.lysj.framework.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author drj
 * @description 菜品数量报表统计
 * @create 2019-01-22 16:21:18
 **/
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class FoodReport extends BaseEntity implements Serializable {
    private String storeId;
    private String foodId; //平台菜品id
    @Excel(name = "菜品名称", orderNum = "1")
    private String foodName; //菜品名称
    @Excel(name = "平台销量", orderNum = "2")
    private Integer platNumber; //平台销量
    @Excel(name = "饿了么销量", orderNum = "3")
    private Integer elmNumber;//饿了么销量
    @Excel(name = "美团销量", orderNum = "4")
    private Integer mtNumber;//美团销量
    @Transient
    @Excel(name = "总销量", orderNum = "5")
    private Integer totalNumber;//总销量
}